//
//  ViewController.m
//  UI05_作业
//
//  Created by dllo on 16/6/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ViewController.h"
#import "RainView.h"
#define ScreenWidth [UIScreen mainScreen].bounds.size.width
#define ScreenHeight [UIScreen mainScreen].bounds.size.height
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    [self createRainView];
}
- (void)createRainView{
    RainView *rainView = [[RainView alloc] initWithFrame:CGRectMake(0 , 0, ScreenWidth , ScreenHeight)];
    [self.view addSubview:rainView];
    [rainView release];

    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
